@import "../../common/styles/globalStyle.scss";

.home {
  .header {
    height: vw(96);
    color: #fff;
    background: #f45013;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: $globalPadding;
    .iconfont{
      font-size: vw(34);
    }
    .address {
      flex: 3;
      text-align: left;
      font-size: vw(30);
      display: flex;
      justify-content: flex-start;
      align-items: center;
      .van-ellipsis{
        width: 8em;
      }
    }

    .search {
      flex: 4;
      //width: 20%;
      .van-search{
        padding: 0;
        background: rgba(0,0,0,0);
      }
    }
  }

  .slideshow{
    .my-swipe .van-swipe-item {
      color: #fff;
      font-size: 20px;
      height: vw(408);
      text-align: center;
      background-color: #39a9ed;
      .van-image{
        height: 100%;
      }
    }
  }

  .menu{
    padding: vw(24) $globalPadding 0 $globalPadding;
    .menu-list{
      display: flex;
      justify-content: space-between;
      align-items: center;
      li{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        img{
          width: vw(94);
          height: vw(94);
        }
        span{
          font-size: vw(20);
          padding-top: vw(15);
        }
      }
    }
  }

  .news{
    padding-top: vw(48);
    padding-left: $globalPadding;
    padding-right: $globalPadding;
    .news-title{
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      h3{
        flex: 1;
        font-size: vw(26);
        margin: 0;
        color: #fe4737;
        font-weight: bold;
      }
      span{
        flex: 4;
        font-size: vw(22);
        color: #db562d;
      }
    }
    .news-list{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: vw(35);
      li{
        width: vw(224);
        height: vw(260);
        border-radius: vw(20);
      }
    }
  }

  .goods-list{
    padding-left: $globalPadding;
    padding-right: $globalPadding;
    .goods-title{
      h3{
        text-align: left;
        color: #fe4737;
      }
    }
    .ShopCard-container{
      padding-bottom: vw(200);
    }
  }
}
